.profile-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

/* author profile */
.author-profile-box {
    max-width: 800px;
    margin: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, #333, #000);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.author-quote {
    padding: 40px;
}

.author-image {
    align-self: flex-start;
}

.author-image img {
    border: 2px solid gold;
    height: 100px;
    border-radius: 50%;
    /* box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2); */
    /* box-shadow: rgba(255, 255, 255, 0.56) 0px 22px 70px 4px; */
}

.author-info h1 {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 10px;
}

.author-info p {
    padding-bottom: 0;
}


/* stats */

.author-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    flex-wrap: nowrap;
}

.stat-box {
    flex: 1;
    min-width: 0;
    /* Allows shrinking */

    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.stat-box h3 {
    margin: 0;
    font-size: 1rem;
    /* color: #333; */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.stat-box p {
    margin: 4px 0 0;
    font-size: 0.8rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}




/* Articles List */
.author-articles {
    padding: 0px 20px;
}

.author-articles h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

.article-card-af {
    background: #fafafa;
    max-width: 800px;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #eee;
}

.article-card-af h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.article-card-af a {
    text-decoration: none;
    color: #333;
}

.article-card-af a:hover {
    text-decoration: underline;
}

.article-snippet {
    font-size: 0.95rem;
    color: #555;
}

.article-date {
    font-size: 0.8rem;
    color: #999;
}